#include <nonlinear_solver_implementation.hpp>
Classes | |
struct | null_deleter |
A functor to keep smart pointers from deleting their pointer. More... | |
Public Types | |
typedef NonlinearSolverInterface< T, I > ::VectorType | VectorType |
typedef NonlinearSolverInterface< T, I > ::MatrixType | MatrixType |
typedef NLSBuilder< T, I > ::Jacobian | JacobianBuilder |
typedef NLSBuilder< T, I > ::Function | FunctionBuilder |
Public Member Functions | |
NonlinearSolverImplementation (const parallel::Communicator &comm, const int &local_size, JacobianBuilder form_jacobian, FunctionBuilder form_function) | |
Default constructor. | |
NonlinearSolverImplementation (MatrixType &J, JacobianBuilder form_jacobian, FunctionBuilder form_function) | |
Constructor that uses an existing Jacobian Matrix. | |
virtual | ~NonlinearSolverImplementation (void) |
Destructor. |
typedef NLSBuilder<T, I>::Function gridpack::math::NonlinearSolverImplementation< T, I >::FunctionBuilder |
Reimplemented in gridpack::math::NewtonRaphsonSolverImplementation< T, I >.
typedef NLSBuilder<T, I>::Jacobian gridpack::math::NonlinearSolverImplementation< T, I >::JacobianBuilder |
Reimplemented in gridpack::math::NewtonRaphsonSolverImplementation< T, I >.
typedef NonlinearSolverInterface<T, I>::MatrixType gridpack::math::NonlinearSolverImplementation< T, I >::MatrixType |
Reimplemented from gridpack::math::NonlinearSolverInterface< T, I >.
typedef NonlinearSolverInterface<T, I>::VectorType gridpack::math::NonlinearSolverImplementation< T, I >::VectorType |
Reimplemented from gridpack::math::NonlinearSolverInterface< T, I >.
Reimplemented in gridpack::math::NewtonRaphsonSolverImplementation< T, I >.
gridpack::math::NonlinearSolverImplementation< T, I >::NonlinearSolverImplementation | ( | const parallel::Communicator & | comm, | |
const int & | local_size, | |||
JacobianBuilder | form_jacobian, | |||
FunctionBuilder | form_function | |||
) |
Default constructor.
References gridpack::parallel::Distributed::communicator(), gridpack::utility::Configurable::Configurable(), and gridpack::math::Sparse.
gridpack::math::NonlinearSolverImplementation< T, I >::NonlinearSolverImplementation | ( | MatrixType & | J, | |
JacobianBuilder | form_jacobian, | |||
FunctionBuilder | form_function | |||
) |
Constructor that uses an existing Jacobian Matrix.
References gridpack::parallel::Distributed::communicator(), gridpack::utility::Configurable::Configurable(), and gridpack::math::BaseMatrixInterface< T, I >::localRows().
virtual gridpack::math::NonlinearSolverImplementation< T, I >::~NonlinearSolverImplementation | ( | void | ) | [virtual] |
Destructor.